-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PM-12490] Extract OrganizationService.EnableAsync into commands #5321
base: main
Are you sure you want to change the base?
Conversation
…Command for organization enabling
# Conflicts: # src/Billing/Services/Implementations/SubscriptionUpdatedHandler.cs
d3b751a
to
4c3c230
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5321 +/- ##
==========================================
+ Coverage 44.30% 44.33% +0.02%
==========================================
Files 1497 1498 +1
Lines 69207 69214 +7
Branches 6241 6241
==========================================
+ Hits 30661 30684 +23
+ Misses 37223 37207 -16
Partials 1323 1323 ☔ View full report in Codecov by Sentry. |
New Issues (14)Checkmarx found the following issues in this Pull Request
Fixed Issues (13)Great job! The following issues were fixed in this Pull Request
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 from Billing
# Conflicts: # src/Core/AdminConsole/Services/IOrganizationService.cs # src/Core/AdminConsole/Services/Implementations/OrganizationService.cs # src/Core/OrganizationFeatures/OrganizationServiceCollectionExtensions.cs
56d8794
I had to fix a few merge conflicts |
.../Core.Test/AdminConsole/OrganizationFeatures/Organizations/OrganizationEnableCommandTests.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good, just one minor request with the test code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
src/Core/AdminConsole/OrganizationFeatures/Organizations/OrganizationEnableCommand.cs
Outdated
Show resolved
Hide resolved
…d optional expiration
bf7871c
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-12490
📔 Objective
Extract
OrganizationService.EnableAsync
toOrganizationEnableCommand
.Add unit tests for OrganizationEnableCommand.
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes